.ImageModalButton {
    cursor: pointer;
    position: relative;
    .image-magnify-icon {
        color: white;
        position: absolute;
        right: 10px;
        bottom: 10px;

        opacity: 0.5;
    }
    &:hover .image-magnify-icon {
        opacity: 1;
    }

    img {
        &.box-shadowed-image {
            border-radius: 5px;
            box-shadow: 0px 1px 11px 5px rgba(0, 0, 0, 0.2);
        }

        &.mac-box-shadow {
            ~ svg.image-magnify-icon {
                right: 5%;
                bottom: 10%;
            }
        }
    }
}

.ImageModal {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.4);

    display: flex;

    .Modal-image {
        margin: auto;
        display: flex;

        img {
            max-width: 90vw;
            max-height: 90vh;
            border-radius: 5px;
        }
    }
}

@media only screen and (max-width: 736px) {
    .ImageModal .Modal-image img {
        object-fit: contain;
    }
}
